package com.yxsd.mapper;

import com.yxsd.common.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * OrderMapper
 *
 * @author: zhangteng
 * @time: 2015/1/5 17:27
 */
public interface OrderMapper {

    public List<Order> queryByCondition(Map<String, Object> params) throws Exception;

    public int queryCountByCondition(@Param("search") String search,
                                     @Param("status") Integer status) throws Exception;
}
